package site.luojie.netty.rpc.consumer;

import org.I0Itec.zkclient.ZkClient;

/**
 * @author jie.luo
 * @since 2020-08-13
 */
public class ZkUtil {

    private static ZkClient zkClient;

    public ZkUtil build(String connectString) {
        if (zkClient == null) {
            zkClient = new ZkClient(connectString);
        }
        return this;
    }

    public ZkClient getZkClient() {
        return zkClient;
    }

}
